extends "../bunao-1/bunao-1.gd"

func _extInit():
	._extInit()
	lv = 2
	addSkill("自身舰载机伤害提高50%，每秒损失5%血量", "不挠之焰")

func castPlane():
	var cha = .castPlane()
	if cha != null:
		castBuff(cha, b_bunao.new())

class b_bunao:
	extends "../../../azurlane_ctrl/AzurBuff.gd"
	func _init():
		attInit()
		id = "b_bunao"
		dispel = 2
		att.atkR += 0.5
	func _connect():
		if casCha.upgraded == 1:
			att.atkR += 0.25
	func _upS():
		if casCha.upgraded != 2:
			masCha.forceHurtSelf(masCha.att.maxHp * 0.05)